arm/atomic: fix MISRA C 2012 Rule 20.7 violation
authorXenia Ragiadakou <burzalodowa@gmail.com>
Fri, 29 Jul 2022 06:51:31 +0000 (08:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 29 Jul 2022 06:51:31 +0000 (08:51 +0200)
commit062790aca6b1faea62c9ed2737c3791efb0d0f4c
treeceb45cb60f8e267f8fd81611259a1df8c69bfa7d
parent124f138b37d595294b3100349e26ffb3f1df7b13
arm/atomic: fix MISRA C 2012 Rule 20.7 violation

The macro parameter 'p' is used as an expression and needs to be enclosed in
parentheses.

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/include/asm/atomic.h